package com.project.bean;

/**
 * 商品订单明细
 */
public class OrderProductBean {
    /**编号*/
    private int id;
    /**商品对象*/
    private ProductBean project;
    /**购买数量*/
    private int buyNum;
    /**订单对象*/
    private OrderBean order;
    /**价格*/
    private int price;
    /**评价状态*/
    private String state="未评价";

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public ProductBean getProject() {
        return project;
    }

    public void setProject(ProductBean project) {
        this.project = project;
    }

    public int getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(int buyNum) {
        this.buyNum = buyNum;
    }

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "OrderProductBean{" +
                "id=" + id +
                ", project=" + project +
                ", buyNum=" + buyNum +
                ", order=" + order +
                ", price=" + price +
                ", state='" + state + '\'' +
                '}';
    }
}
